import VueRouter from 'vue-router'
import Login from '../pages/Login.vue'
import Register from '../pages/Register.vue'
import Home from '../pages/Home.vue'

//
const routes = [
    {path:'/login',component:Login},
    {path:'/register',component:Register},
    {path:'/home',component:Home}
]

const router = new VueRouter({
    routes
})

export default router